From 0f761fab230db11e3e93198541bf9c6960dabde0 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Mon, 23 Nov 2009 07:12:06 +0000 Subject: [PATCH] xend: Add support for XCP Windows PV drivers This patch adds support for XCP Windows paravirtual drivers to run on Xen. The drivers are currently provided in binary-only format from Citrix. At a minimum, this patch is useful for performance comparisons vs GPLPV drivers. Live migration and save/resume are functional but set the guest clock to the 1970's. The clock must be manually adjusted for the guest's ntp to resume accurate timekeeping. Before rebooting windows at the end of driver installation create the registry key HKLM\System\CurrentControlSet\Services\xenevtchn\Parameters. Add to it a DWORD called SetFlags with a value of 0x10000000. Signed-off-by: Keith Coleman --- tools/python/xen/xend/XendDomainInfo.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index 4d7ec2cd40..592ba6fad8 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -1654,7 +1654,9 @@ class XendDomainInfo: t.set_permissions({'dom' : self.domid, 'read' : True}) t.write('vm', self.vmpath) # NB. Solaris guests use guest/ and hvmpv/ xenstore directories - for i in [ 'device', 'control', 'error', 'memory', 'guest', 'hvmpv' ]: + # XCP Windows paravirtualized guests use data/ + for i in [ 'device', 'control', 'error', 'memory', 'guest', \ + 'hvmpv', 'data' ]: t.mkdir(i) t.set_permissions(i, {'dom' : self.domid}) -- 2.30.2